import {createRouter, createWebHashHistory} from 'vue-router'

const routes = [
    {
      path: '/',
      name: 'Home',
      component: () => import('@/views/Home.vue')
    },
    {
      path: '/helloWorld',
      name: 'HelloWorld',
      component: () => import('@/views/HelloWorld.vue')
    },
    {
      path: '/demo1',
      name: 'ThreejsDemo1',
      component: () => import('@/views/ThreejsDemo1.vue')
    },
    {
      path: '/demo2',
      name: 'ThreejsDemo2',
      component: () => import('@/views/ThreejsDemo2.vue')
    },
   
   
  ]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})


export default router